
import {
    DIC
} from '@/const/dic';
import Store from '../../store/';
const allPermission = Store.state.user.permission;
const isAdmin = Store.state.user.userInfo.superAdmin;
export const rechargeInfoTableOption = {
    border: false,
    index: false,
    dateBtn:true,
    selection: false,
    dateDefault:false,
    calcHeight: 350,
    columnBtn: false,
    searchClearable: false,
    selectClearBtn: false,
    searchResetBtn: false,
    height: "auto",
    menu: false,
    menuAlign: "center",
    searchBtn: true,
    labelWidth: 120,
    refreshBtn: true,
    tip: false,
    addBtn: false,
    dialogWidth: '800px',
    dialogHeight: 'auto',
    menuWidth: 180,
    editBtn: false,
    viewBtn: false,
    delBtn: false,
    column: [
        {
            "label": "状态",
            "prop": "payStatus",
            "search": true,
            "type": "tag",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false,
            "placeholder": "请选择状态",
            "dicData": DIC["rechargeInfopayStatusDic"]
        },
        {
            "label": "用户姓名",
            "prop": "realName",
            "search": false,
            "type": "text",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false
        },
        {
            "label": "手机号",
            "prop": "mobile",
            "search": true,
            "type": "text",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": false,
            "hide": true
        },
        {
            "label": "手机号",
            "prop": "userMobile",
            "search": false,
            "type": "text",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false
        },
        {
            "label": "充值金额",
            "prop": "payAmount",
            "search": false,
            "type": "number",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false
        },
        {
            "label": "兑换钻石数量",
            "prop": "diamondNum",
            "search": false,
            "type": "number",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false
        },
        {
            "label": "支付时间",
            "prop": "payTime",
            "search": false,
            "type": "datetime",
            "fixed": false,
            "width": "170",
            "row": false,
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false,
            "format": "yyyy-MM-dd HH:mm:ss",
            "valueFormat": "yyyy-MM-dd HH:mm:ss"
        },
        // {
        //     "label": "支付流水",
        //     "prop": "paySeqNo",
        //     "search": false,
        //     "type": "text",
        //     "fixed": false,
        //     "width": "auto",
        //     "row": false,
        //     "minWidth": "120",
        //     "readonly": false,
        //     "span": 12,
        //     "display": true,
        //     "hide": false
        // },
        // {
        //     "label": "外部支付流水号",
        //     "prop": "outPaySeqNo",
        //     "search": false,
        //     "type": "text",
        //     "fixed": false,
        //     "width": "auto",
        //     "row": false,
        //     "minWidth": "120",
        //     "readonly": false,
        //     "span": 12,
        //     "display": true,
        //     "hide": false
        // },
        {
            "label": "支付渠道",
            "prop": "payChannel",
            "search": false,
            "type": "tag",
            "fixed": false,
            "width": "auto",
            "row": false,
            "minWidth": "120",
            "readonly": false,
            "span": 12,
            "display": true,
            "hide": false,
            "placeholder": "请选择支付渠道",
            "dicData": DIC["orderInfopayChannelDic"]
        },
        {
            "label": "创建时间",
            "prop": "createTime",
            "search": false,
            "type": "datetime",
            "fixed": false,
            "width": "170",
            "row": false,
            "readonly": false,
            "span": 12,
            "display": false,
            "hide": false,
            "format": "yyyy-MM-dd HH:mm:ss",
            "valueFormat": "yyyy-MM-dd HH:mm:ss"
        },
        {
            "label": "修改时间",
            "prop": "modifyTime",
            "search": false,
            "type": "datetime",
            "fixed": false,
            "width": "170",
            "row": false,
            "readonly": false,
            "span": 12,
            "display": false,
            "hide": false,
            "format": "yyyy-MM-dd HH:mm:ss",
            "valueFormat": "yyyy-MM-dd HH:mm:ss"
        }
    ]
};
